package wiki.hitime.stl.daq.bean.dto.req;

import wiki.hitime.stl.daq.bean.dto.manage.CheckRuleDTO;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zhangdaoping
 * @create 2019-07-24 16:59
 */
@Data
public class CheckRuleListAddUpdateReqDTO {

    /**
     * 执行规则编号
     */
    @NotNull(message = "执行规则编号为空")
    private Long executeRuleId;


    /**
     * 采集规则编号
     */
    @NotNull(message = "采集规则编号为空")
    private Long acquisitionRuleId;

    /**
     * 规则实体
     */
    @Valid
    private List<CheckRuleDTO> checkRuleDTOList;
}
